<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2018/12/11
 * Time: 16:53
 */

namespace app\modules\responsibilitiesChain;


class Director extends Handler
{
    /**
     * className
     *
     * @date   2018/12/11
     * @author edmmss
     * @param Request $request
     * @return mixed
     */
    public function apply(Request $request)
    {
        // TODO: Implement apply() method.
        if ($request->requestType == '请假'
            || $request->requestType == '请年假') {
            return '总监批';
        }
    }
}